package com.zys.el.time.advice.service;

import com.zys.el.time.advice.entity.CommentAdvice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zys.el.time.advice.vo.CommentAdviceVo;
import com.zys.el.time.dto.ScrollPage;


public interface CommentAdviceService extends IService<CommentAdvice> {

    CommentAdviceVo getCommentAdviceVoById(Long adviceId);

    ScrollPage<CommentAdviceVo> getPage(Long userId, Long max, int offset, int size);

    void clear(Long userId);

    void alreadyRead(Long userId);
}
